I hope you were joking about writing your own parser. :-) For such a simple mapping, most tools from http://json.org (section java) would ... ... <看更多>
A tool to quickly parse JSON into Java maps and lists. Significantly faster than FasterXML's Jackson with an extremely small memory and size footprint. ... <看更多>
It is impossible explicitly, however, you can deserialize you String into List< Object> and then cast your Object in for-loop to Map< String ... ... <看更多>